package dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import entity.City;
import util.HibernateBaseDao;
@Repository
public class CityDao extends HibernateBaseDao<City> {

	public List<City> listCities(int provinceId) {
		return this.find("from City where province.id=?", provinceId);
	}

}
